{template 'common/header'}
<script src="/addons/hc_pdd/template/js/color.js"></script>
<ul class="nav nav-tabs">
	<li><a href="{php echo $this->createWebUrl('setting')}">基础设置</a></li>
	<li><a href="{php echo $this->createWebUrl('guanzhu')}">关注设置</a></li>
	<li><a href="{php echo $this->createWebUrl('shenhe')}">审核设置</a></li>
	<li><a href="{php echo $this->createWebUrl('ad')}">流量主设置</a></li>
	<li><a href="{php echo $this->createWebUrl('poster')}">海报设置</a></li>
	<li><a href="{php echo $this->createWebUrl('message')}">模板消息</a></li>
	<li><a href="{php echo $this->createWebUrl('signin')}">签到设置</a></li>
	<li><a href="{php echo $this->createWebUrl('settime')}">定时任务</a></li>
	<li><a href="{php echo $this->createWebUrl('notice')}">公告设置</a></li>
	<li><a href="{php echo $this->createWebUrl('centerdiy')}">个人中心</a></li>
	<li class="active"><a href="{php echo $this->createWebUrl('api')}">接口设置</a></li>
	<li><a href="{php echo $this->createWebUrl('others')}">其他设置</a></li>
</ul>
<div class="clearfixcon">
	<form action="" method="post" class="form-horizontal form" enctype="multipart/form-data" id="form1" style="display: block">
		<div class="panel panel-default con" id="tab3">
			<div class="panel-heading">
				接口设置<sapn style="color:red;">(为防止用户在申请多多进宝接口前前端优惠券页面空白，系统已默认接口参数。用户申请完多多进宝接口后，自行填写保存下方所需参数即可更换接口参数)</sapn>
			</div>
			<div class="panel-body">
				<div class="tab-pane active" id="tab_param2">
				        <div class="form-group">
							<label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">client_id</label>
							<div class="col-sm-8">
								<input type="text" name="client_id" class="form-control" value="{$info['client_id']}">	
								<!-- <div class='help-block'>例：公告内容不要大于25个字。</div>	 -->						
							</div>
						</div>
						<div class="form-group">
							<label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">client_secret</label>
							<div class="col-sm-8">
								<input type="text" name="client_secret" class="form-control" value="{$info['client_secret']}">							
							</div>
						</div>
						<div class="form-group">
							<label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">推广位p_id</label>
							<div class="col-sm-8">
								<input type="text" name="p_id" class="form-control" value="{$info['p_id']}">							
							</div>
						</div>
						<div class="form-group">
							<label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">领取优惠券消耗币数</label>
							<div class="col-sm-8">
								<input type="text" name="couponprice" class="form-control" value="{$info['couponprice']}">	
								<div class='help-block'>默认:5。领取优惠券需要消耗的步数币。</div>						
							</div>
						</div>		            
				</div>
			</div>
		</div>

		<div class="form-group col-sm-12">
			<input name="submit" type="submit" value="提交" class="btn btn-primary col-lg-1" {if $update_status == 1}disabled{/if}>
			<input type="hidden" name="act" value="add" />
		</div>
	</form>
</div>


{template 'common/footer'}